Design that adapts to diversity is antifragility